﻿using AutoMapper;
using BCDto.TMS.SystemProtocolConfig;
using BCEntity.TMS.SystemProtocolConfig;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCService.MapperProfiles.TMS.SystemProtocolConfig
{
    public class SystemProtocolConfigProfile : Profile
    {
        public SystemProtocolConfigProfile()
        {
            CreateMap<SystemProtocolConfigRequestDto, SystemProtocolConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<SystemProtocolConfigDto, SystemProtocolConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<SystemProtocolConfigRequestDto, SystemProtocolConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<SystemProtocolConfigEntity, SystemProtocolConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<SystemProtocolConfigEntity, SystemProtocolConfigRequestDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<SystemProtocolConfigDto, SystemProtocolConfigRequestDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}
